#!/bin/bash

echo "***Starting to build component***"

npm install

npm run dist

npm run pre-publish

echo "build complete"

npm publish --registry http://192.168.8.145:8081/repository/npm-hosted/

echo "**************END**************"
